Request headers

Only registered user can perform this action
  Authentication - string - required
    Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"

Success response body

{
  "id": ID,
  "name": "NAME CAMPAIGN",
  "hex_code": "HEX CODE",
  "details": "DESCRIPTION",
  "cover_image_s3_key": "IMAGE URL",
  "logo_s3_key": "LOGO URL",
  "video_url": "VIDEO URL",
  "date_from": "2023-05-30T00:00:00.000Z",
  "date_to": "2024-05-30T00:00:00.000Z",
  "goal_amount": 1000,
  "available_sums": [
    50,
    75,
    100,
    250,
    500
  ],
  "prices": [
    {
      "value": 50,
      "price_id": "price_1NYVcMAxd7UNEmWNvN6hIIeq"
    },
    {
      "value": 75,
      "price_id": "price_1NYVcNAxd7UNEmWNiRBKBWQV"
    },
    {
      "value": 100,
      "price_id": "price_1NYVcNAxd7UNEmWN1V1EeWKi"
    },
    {
      "value": 250,
      "price_id": "price_1NYVcNAxd7UNEmWNCa26ZaoV"
    },
    {
      "value": 500,
      "price_id": "price_1NYVcOAxd7UNEmWNi7XNhi4J"
    }
  ],
  "price_id": "price_1NYVcOAxd7UNEmWN1rUMNm5x",
  "sponsorship_opportunity": "<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>",
  "workspace_id": 1023,
  "workspace_name": "Workspace",
  "tax_deductible": false,
  "tax_id": null,
  "multi_sport": false,
  "disable_sponsor": false,
  "sponsors_exist": true
  "sports": [
    {
      "id": 1,
      "title": "Sport Football",
      "details": "Lorem ipsum detatils",
      "full_description": "Lorem ipsum full description",
      "image_s3_key": null,
      "cover_image_s3_key": "test.jpg",
      "video_url": "https://youtube.com"
    }...,
  ]
}

Params

Param name Description
id
required

Validations:

  • Must be a Integer